﻿using MSAP.Framework.Interfaces;

namespace PLL.Shell
{
    public class ShellModuleInitializer
    {
        private static ShellModule m_Module = null;

        public static IModule CreateModule(IShell shell)
        {
            if (m_Module == null)
            {
                m_Module = new ShellModule();
                m_Module.Init(shell);
            }
            return m_Module;
        }

        public static IModule GetModule()
        {
            return m_Module;
        }
    }

}
